package top.infopub.model.hr;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.infopub.generic.GenericEntity;

/**
 * NC 人员信息对象 nc_staffinfo
 *
 * @author zxy
 * @date 2020-12-21
 */
public class NcStaffinfo extends GenericEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private String pkPsndoc;

    /** 用户工号 */
    private String code;

    /** 姓名 */
    private String name;

    /** 手机号 */
    private String mobile;

    /** 邮箱 */
    private String email;

    /** 性别 */
    private Long sex;

    /** 性别中文 */
    private String sexName;

    /** 所属组织id */
    private String pkOrg;

    /** 组织编号 */
    private String orgCode;

    /** 组织名 */
    private String orgName;

    /** 所属部门id */
    private String pkDept;

    /** 部门编号 */
    private String deptCode;

    /** 部门名 */
    private String deptName;

    /** 集团 */
    private String pkGroup;

    /** group_code */
    private String groupCode;

    /** group_name */
    private String groupName;

    /** 岗位 */
    private String pkPost;

    /** 岗位code */
    private String postcode;

    /** 岗位名称 */
    private String postname;

    /** 职务 */
    private String jobcode;

    /** 职务名称 */
    private String jobname;

    /** 产业 */
    private String corp;

    /** 是否有效；Y：有效；N：无效 */
    private String iseffect;

    /** 时间 */
    private Date ts;

    /** 是否主职；Y：是；N：兼职 */
    private String ismainjob;

    /** rn */
    private String rn;

    public void setPkPsndoc(String pkPsndoc)
    {
        this.pkPsndoc = pkPsndoc;
    }

    public String getPkPsndoc()
    {
        return pkPsndoc;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setSex(Long sex)
    {
        this.sex = sex;
    }

    public Long getSex()
    {
        return sex;
    }
    public void setSexName(String sexName)
    {
        this.sexName = sexName;
    }

    public String getSexName()
    {
        return sexName;
    }
    public void setPkOrg(String pkOrg)
    {
        this.pkOrg = pkOrg;
    }

    public String getPkOrg()
    {
        return pkOrg;
    }
    public void setOrgCode(String orgCode)
    {
        this.orgCode = orgCode;
    }

    public String getOrgCode()
    {
        return orgCode;
    }
    public void setOrgName(String orgName)
    {
        this.orgName = orgName;
    }

    public String getOrgName()
    {
        return orgName;
    }
    public void setPkDept(String pkDept)
    {
        this.pkDept = pkDept;
    }

    public String getPkDept()
    {
        return pkDept;
    }
    public void setDeptCode(String deptCode)
    {
        this.deptCode = deptCode;
    }

    public String getDeptCode()
    {
        return deptCode;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }
    public void setPkGroup(String pkGroup)
    {
        this.pkGroup = pkGroup;
    }

    public String getPkGroup()
    {
        return pkGroup;
    }
    public void setGroupCode(String groupCode)
    {
        this.groupCode = groupCode;
    }

    public String getGroupCode()
    {
        return groupCode;
    }
    public void setGroupName(String groupName)
    {
        this.groupName = groupName;
    }

    public String getGroupName()
    {
        return groupName;
    }
    public void setPkPost(String pkPost)
    {
        this.pkPost = pkPost;
    }

    public String getPkPost()
    {
        return pkPost;
    }
    public void setPostcode(String postcode)
    {
        this.postcode = postcode;
    }

    public String getPostcode()
    {
        return postcode;
    }
    public void setPostname(String postname)
    {
        this.postname = postname;
    }

    public String getPostname()
    {
        return postname;
    }
    public void setJobcode(String jobcode)
    {
        this.jobcode = jobcode;
    }

    public String getJobcode()
    {
        return jobcode;
    }
    public void setJobname(String jobname)
    {
        this.jobname = jobname;
    }

    public String getJobname()
    {
        return jobname;
    }
    public void setCorp(String corp)
    {
        this.corp = corp;
    }

    public String getCorp()
    {
        return corp;
    }
    public void setIseffect(String iseffect)
    {
        this.iseffect = iseffect;
    }

    public String getIseffect()
    {
        return iseffect;
    }
    public void setTs(Date ts)
    {
        this.ts = ts;
    }

    public Date getTs()
    {
        return ts;
    }
    public void setIsmainjob(String ismainjob)
    {
        this.ismainjob = ismainjob;
    }

    public String getIsmainjob()
    {
        return ismainjob;
    }
    public void setRn(String rn)
    {
        this.rn = rn;
    }

    public String getRn()
    {
        return rn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pkPsndoc", getPkPsndoc())
            .append("code", getCode())
            .append("name", getName())
            .append("mobile", getMobile())
            .append("email", getEmail())
            .append("sex", getSex())
            .append("sexName", getSexName())
            .append("pkOrg", getPkOrg())
            .append("orgCode", getOrgCode())
            .append("orgName", getOrgName())
            .append("pkDept", getPkDept())
            .append("deptCode", getDeptCode())
            .append("deptName", getDeptName())
            .append("pkGroup", getPkGroup())
            .append("groupCode", getGroupCode())
            .append("groupName", getGroupName())
            .append("pkPost", getPkPost())
            .append("postcode", getPostcode())
            .append("postname", getPostname())
            .append("jobcode", getJobcode())
            .append("jobname", getJobname())
            .append("corp", getCorp())
            .append("iseffect", getIseffect())
            .append("ts", getTs())
            .append("ismainjob", getIsmainjob())
            .append("rn", getRn())
            .toString();
    }
}
